package cn.gene.timeyan.pojo.article.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("评论信息")
public class CommentVO implements Serializable {
    @ApiModelProperty(value = "评论id")
    private Long commentId;
    @ApiModelProperty(value = "评论人id")
    private Long commenterId;
    @ApiModelProperty(value = "评论人昵称")
    private String nickname;
    @ApiModelProperty(value = "评论人头像")
    private String avatar;
    @ApiModelProperty(value = "评论人是否是文章作者")
    private char isAuthor;
    @ApiModelProperty(value = "评论内容")
    private String commentContent;
    @ApiModelProperty(value = "回复数")
    private Integer replayNum;
    @ApiModelProperty(value = "点赞数")
    private Integer likeNum;
    @ApiModelProperty(value = "评论时间")
    private LocalDateTime commontTime;
}
